package com.vere.rpc.test;

import java.util.ArrayList;
import java.util.List;

public class UserServiceImpl implements UserService {

    private List<User> userList = new ArrayList<User>();

    public UserServiceImpl() {

    }

    @Override
    public boolean add(User user) {
        return userList.add(user);
    }

    @Override
    public List<User> find() {
        return userList;
    }

}
